<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<form:form modelAttribute="uploadItem" name="frm" method="post" enctype="multipart/form-data" action="upload-file.car">
	<div id="file-upload" style="display: none">
		<fieldset>
			<legend>
				Upload File
			</legend>
			<table>
				<tr>
					<td>
						<form:label for="fileData" path="fileData">File</form:label>
						<br />
					</td>
					<td>
						<form:input path="fileData" id="image" type="file"  accept="*xml*" />
					</td>
				</tr>
				<tr>
					<td>
						<br />
					</td>
					<td>
						<input type="submit" value="Upload" />
					</td>
				</tr>
			</table>
		</fieldset>
	</div>
</form:form>
